package com.zyz.I_多线程.创建方式.练习.方式二;

/**
 * @author: vick
 * @Date: 2025/3/21
 * @Description:
 * @version: 1.0
 */
public class Rece {
    public static void main(String[] args) {
        Hare hare = new Hare();
        Thread thread1 = new Thread(hare, "兔子");
        Thread thread2 = new Thread(hare, "乌龟");
        thread1.start();
        thread2.start();
    }
}
